MotoPress\Appointment\Services\BookingService B

Total Complexity 84
Dependencies 22
Dependents 4
Total lines 622
Lines of code 341
Logical lines of code 196
Comment lines 157
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
createBooking()
B
41 17 53
createPayment()
A
46 10 36
parseCoupon()
A
51 9 26
parseEmployee()
A
51 9 25
saveBooking()
S
47 6 35
updateReservations()
S
55 6 19
parseLocation()
S
58 5 14
saveReservation()
S
50 4 28
createReservation()
S
48 3 32
savePayment()
S
51 3 28
parseCustomer()
S
67 3 7
requireFields()
S
71 2 5
parseService()
S
66 2 8
parseDate()
S
68 2 7
parseTime()
S
68 2 7
parseCapacity()
S
62 1 11